package com.lu.system.user.service;

import com.lu.system.user.domain.UserDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author zhanglu
 * @email 1309617271@qq.com
 * @date 2018-09-20 21:05:03
 */
public interface UserService {
	
	UserDO get(Long userId);
	
	List<UserDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserDO user);

    void saveBatch(List<UserDO> user) throws Exception;
	
	int update(UserDO user);

    void updateBatch(List<UserDO> user) throws Exception;
	
	int remove(Long userId);
	
	int batchRemove(Long[] userIds);
}
